package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class CataSpecialItem extends AppItem implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 机构id */
	private String id;
	/** 拍卖会名称 */
	private String title;
	/** 拍卖会logo */
	private String imgurl;
	/** 拍卖会开始时间 */
	private String auction_start_time;
	/** 拍卖会结束时间 */
	private String auction_end_time;
	/** 拍品备案数量 */
	private String lotrecord_num;
	/** 拍品数量 */
	private String lot_num;
	/** 所属机构名称 */
	private String seller_name;
	/** H5地址 */
	private String htmlurl;
	/** 下载地址 */
	private String zipurl;

	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		title = obj.optString("title");
		imgurl = obj.optString("imgurl");
		auction_start_time = obj.optString("auction_start_time");
		auction_end_time = obj.optString("auction_end_time");
		lotrecord_num = obj.optString("lotrecord_num");
		lot_num = obj.optString("lot_num");
		seller_name = obj.optString("seller_name");
		htmlurl = obj.optString("htmlurl");
		zipurl = obj.optString("zipurl");
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}

	public String getAuction_start_time() {
		return auction_start_time;
	}

	public void setAuction_start_time(String auction_start_time) {
		this.auction_start_time = auction_start_time;
	}

	public String getAuction_end_time() {
		return auction_end_time;
	}

	public void setAuction_end_time(String auction_end_time) {
		this.auction_end_time = auction_end_time;
	}

	public String getLotrecord_num() {
		return lotrecord_num;
	}

	public void setLotrecord_num(String lotrecord_num) {
		this.lotrecord_num = lotrecord_num;
	}

	public String getLot_num() {
		return lot_num;
	}

	public void setLot_num(String lot_num) {
		this.lot_num = lot_num;
	}

	public String getSeller_name() {
		return seller_name;
	}

	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}

	public String getHtmlurl() {
		return htmlurl;
	}

	public void setHtmlurl(String htmlurl) {
		this.htmlurl = htmlurl;
	}

	public String getZipurl() {
		return zipurl;
	}

	public void setZipurl(String zipurl) {
		this.zipurl = zipurl;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "CataSpecialItem [id=" + id + ", title=" + title + ", imgurl="
				+ imgurl + ", auction_start_time=" + auction_start_time
				+ ", auction_end_time=" + auction_end_time + ", lotrecord_num="
				+ lotrecord_num + ", lot_num=" + lot_num + ", seller_name="
				+ seller_name + ", htmlurl=" + htmlurl + ", zipurl=" + zipurl
				+ "]";
	}
	

}
